svm: simplify MSR handling
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Sep 2010 06:45:25 +0000 (07:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 15 Sep 2010 06:45:25 +0000 (07:45 +0100)
commitb24e5d3d0f46814af4c8596a9cff52390f0df856
treeeeaf544264cf8117897ad73e96be72022735617b
parent5eab9f462865b7f5f9b013b2d7a3e199caacdf73
svm: simplify MSR handling

Machine check MSRs are not special to long mode.  Thus move them into
svm_msr_write_intercept().  Remove empty long mode msr function and
simplify the logic.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/arch/x86/hvm/svm/svm.c